extends CanvasLayer


# Called when the node enters the scene tree for the first time.
func _ready() -> void:
	pass # Replace with function body.


# Called every frame. 'delta' is the elapsed time since the previous frame.
func _process(delta: float) -> void:
	pass


func _on_button_pressed() -> void:
	Dialogic.VAR.loadgame=1
	get_tree().change_scene_to_file("res://scene/main.tscn")

func _on_button_2_pressed() -> void:
	Dialogic.VAR.loadgame=2
	get_tree().change_scene_to_file("res://scene/main.tscn")


func _on_quit_pressed() -> void:
	self.visible=false


func _on_button_3_pressed() -> void:
	Dialogic.VAR.loadgame=3
	get_tree().change_scene_to_file("res://scene/main.tscn")


func _on_button_4_pressed() -> void:
	Dialogic.VAR.loadgame=4
	get_tree().change_scene_to_file("res://scene/main.tscn")


func _on_button_5_pressed() -> void:
	Dialogic.VAR.loadgame=5
	get_tree().change_scene_to_file("res://scene/main.tscn")


func _on_button_6_pressed() -> void:
	Dialogic.VAR.loadgame=6
	get_tree().change_scene_to_file("res://scene/main.tscn")


func _on_button_7_pressed() -> void:
	Dialogic.VAR.loadgame=7
	get_tree().change_scene_to_file("res://scene/main.tscn")


func _on_button_8_pressed() -> void:
	Dialogic.VAR.loadgame=8
	get_tree().change_scene_to_file("res://scene/main.tscn")
